<title>商户</title>

<div class="layui-card layadmin-header">
    <div class="layui-breadcrumb" lay-filter="breadcrumb">
        <a lay-href="home/info">主页</a>
        <a><cite>平台管理</cite></a>
        <a><cite>广告管理</cite></a>
    </div>
</div>

<style>
    td .layui-table-cell{
        overflow:visible;
        text-overflow:inherit;
        white-space:normal;
        word-break: break-all;
    }
</style>

<div class="layui-fluid" id="LAY-demo-carousel">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-header">横幅列表</div>
                <div class="layui-card-body">
                    <table id="table-home-banner" lay-filter="table-home-banner"></table>
                    <script type="text/html" id="table-tool">
                        <div class="layui-form" lay-filter="app-header-search">
                            <a class="layui-btn" lay-event="add">添加横幅</a>
                        </div>
                    </script>
                    <script type="text/html" id="table-img">
                        <img src="{{ d.image }}" width="200">
                    </script>
                    <script type="text/html" id="table-show">
                        <input type="checkbox" name="sex" lay-skin="switch" lay-text="显示|隐藏" lay-filter="table-home-banner-status"
                               value="{{ d.show }}" data-json="{{ encodeURIComponent(JSON.stringify(d)) }}" {{ !d.show || 'checked' }}>
                    </script>
                    <script type="text/html" id="app-table-oper">
                        <div class="layui-tab">
                            <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="edit"><i class="layui-icon layui-icon-edit"></i>编辑</a>
                            <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete"><i class="layui-icon layui-icon-delete"></i>删除</a>
                        </div>
                    </script>
                </div>
            </div>
        </div>

    </div>
</div>

<script>
    layui.use('home',layui.factory('home')).use(['home'], function(){
        let $ = layui.$


    });
</script>
